package com.yfp.device.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * MQTT 数据传输基本实体类
 *
 * @param <T>
 */
@Data
public class MqttDTO<T> implements Serializable {

    @Schema(description = "消息业务类型")
    private String cmd;

    @Schema(description = "数据体")
    private Object payload;
}
